package gr.handmademarket.po.implementations;

import java.io.Serializable;

import gr.handmademarket.po.enums.Role;
import gr.handmademarket.po.interfaces.User;

/**
 * the buyer.
 */
public class Buyer 
implements User, Serializable{

	/**
	 * serialVersionUID.
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * the username.
	 */
	private String username;
	
	/**
	 * the password.
	 */
	private String password;
	
	/**
	 * the first name.
	 */
	private String firstName;
	
	/**
	 * the last name.
	 */
	private String lastName;
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Role getRole() {
		return Role.BUYER;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

}
